/* eslint-disable */
import Vue from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import DataSets from '@/page/dataList.vue'
import TreeDetail from '@/page/treeDetail.vue'
import TreeList from '@/page/treeList.vue'
import HelloWorld from '@/page/HelloWorld.vue'
import infoCus from '@/page/infoCus.vue'
import register from '@/page/registerCus.vue'
import TreeApplication from '@/page/treeApplication.vue'
import quesionnaire from '@/page/QuestionnaireForm.vue'
import VisualizationOfData from '@/page/VisualizationOfData.vue'

const routes = [
  {
    path: '/',
    redirect: '/login',
  },
  {
    path: '/VisualizationOfData',
    name: 'VisualizationOfData',
    component: VisualizationOfData
  },
  {
    path: '/TreeApplication',
    name: 'TreeApplication',
    component: TreeApplication
  },
  {
    path: '/TreeDetail',
    name: 'TreeDetail',
    component: TreeDetail
  },
  {
    path: '/DataSets',
    name: 'DataSets',
    component: DataSets
  },
  {
    path: '/TreeList',
    name: 'TreeList',
    component: TreeList
  },
  {
    path: '/quesionnaire',
    name: 'quesionnaire',
    component: quesionnaire
  },
  {
    path: '/login',
    name: 'HelloWorld',
    component: HelloWorld
  },
  {
    path: '/infoCus',
    name: 'infoCus',
    component: infoCus
  },
  {
    path: '/register',
    name: 'register',
    component: register
  }
];


const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router;